Skip to content

fix: fetch onnxruntime from the mirror and get fleet-smoke green - #12263

Merged
dezren39 merged 3 commits into
mainfrom
claude/12247-ort-src-mirror
Nov 22, 2026
Merged

dezren39 merged 3 commits into
mainfrom
claude/12247-ort-src-mirror

Conversation

@dezren39

@dezren39 dezren39 commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Before: microsoft/onnxruntime returns 404 on GitHub, so the pinned 1.31.1 source cannot be fetched and fleet-smoke on main has been red since Nov 18. That red also hid a second failure: since the Turso switch (be0d2b9) the queue broker waits up to 30s for its Turso token and schema before it binds, so in the hermetic smoke suite /healthz and repo-queue health never reach it (2 of 100 checks).

After: onnxruntime 1.31.1 comes from the v1.31.1 release of developing-today-forks/onnxruntime-src, the identical tree (submodules included, same NAR hash, so the build output is unchanged). The queue broker binds first and brings its Turso backend up on a startup thread: /healthz and /validate answer at once, queue verbs answer exit 3 with the startup error until the backend is ready, and a backend that never comes up still exits the broker with 3 after the 30s budget, as before.

How:

  • onnxruntime: fetchFromGitHub becomes fetchzip on the mirror release asset.
  • fleet-smoke: job limit 60 to 150 minutes, because a cold Actions cache compiles onnxruntime from source and that alone ran past an hour.
  • queue_broker.rs: State holds the backend in a OnceLock filled by start_turso_backend; the startup retry reports each failed attempt so not-ready answers say why.

Checked: cargo test -p fleet-queue (437 pass); the three smoke expectations reproduced against a local broker; the 30s exit 3 reproduced. fleet-smoke has no PR trigger, so it runs by dispatch on this branch.

Fixes #12247

🤖 Generated with Claude Code

microsoft/onnxruntime returns 404 on GitHub since 2026-11-18, so the
pinned fetchFromGitHub source can no longer be fetched and fleet-smoke
on main has been red. Fetch the identical tree (same NAR hash) from the
developing-today-forks/onnxruntime-src v1.31.1 release instead.

Fixes #12247

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copy link
Copy Markdown
Member Author

ONNX Runtime 1.31.1 source verification for #12247 (head b76ab2a5c4b75b322ff564f59decc6b5c3c24dd3):

  • The recursive SHA-256 of the preserved source was verified before publication and matched the existing upstream fetchFromGitHub pin: sha256-wATnI1v3De6+41fGYWS2458TCUWhBECNw2kBnfajKEo=.
  • A separate clean HTTPS download of the public v1.31.1 release returned 225,909,316 bytes. Compressed SHA-256 03279de996bbf88fc606642aadfbbf20a09b6df0ae3e6314766df59401db5b44 matches GitHub's asset metadata.
  • Independently hashing the archive tree after stripping its single top directory reproduced the exact recursive Nix pin above. This used a NAR encoder checked against the Nix manual's reference fixture, not nix build; archive contents were not executed.

The release is currently mutable; the fixed-output pin guards content integrity, not continued asset availability. The branch Fleet smoke run is separate from this source check. Keep the pin at 1.31.1 and require all four builds and smoke checks on the exact resulting main commit before calling Fleet main green.

dezren39 and others added 2 commits November 21, 2026 18:55
With the onnxruntime output evicted from the Actions cache, the build
step compiles onnxruntime 1.31.1 from source and the 60 minute job
limit cancels it before fleet builds. Warm runs still take about 40m.

Refs #12247

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s up

Since the Turso switch (be0d2b9) the broker resolved the Turso token
with a 30s retry and ensured the schema before binding, so in the
hermetic fleet-smoke (secrets broker on a dead port) it never bound:
/healthz and repo-queue health failed (2 of 100 smoke checks). The
failure stayed hidden while the onnxruntime fetch kept the build red.

The broker now binds first and brings the backend up on a startup
thread. /healthz and /validate answer at once; queue verbs answer
exit 3 with the latest startup error until the backend is ready. If
the backend cannot come up within the 30s budget the broker still
exits 3, so supervisors restart it as before.

Refs #12247

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dezren39 dezren39 changed the title fix(onnxruntime): fetch 1.31.1 source from developing-today-forks mirror fix: fetch onnxruntime from the mirror and get fleet-smoke green Nov 22, 2026
@dezren39
dezren39 marked this pull request as ready for review November 22, 2026 03:18
@dezren39
dezren39 requested a review from a team as a code owner November 22, 2026 03:18
@dezren39
dezren39 merged commit ea41220 into main Nov 22, 2026
2 checks passed
@dezren39
dezren39 deleted the claude/12247-ort-src-mirror branch November 22, 2026 03:18
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T03:19:08.625157Z b04498c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fleet-smoke red on main: microsoft/onnxruntime v1.31.1 source no longer fetchable (GitHub 404)

1 participant